﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CH04_03
{
    public class clsStudent
    {
        public string strName;

        // 构造函数;
        public clsStudent(string _strName)
        {
            this.strName = _strName;
        }
    }
    class Class1
    {
        static void Main(string[] args)
        {
            clsStudent s = new clsStudent("Willard");
            Console.WriteLine(s.strName);
        }
    }
}
